package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.trust.annotation.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ccc
 * @since 2023-11-14 22:07:27
 */
@Data
@TableName("checkout_detail")
public class CheckoutDetail {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("检验标准id")
    private Integer checkoutId;

    @ApiModelProperty("检测值下限")
    private Integer examineFloor;

    @ApiModelProperty("检测值上限")
    private Integer examineMaximums;

    @ApiModelProperty("检验项目")
    @NotNull(name = "检验项目")
    private String examineProject;

    @ApiModelProperty("检验项目排序")
    @NotNull(name = "检验项目排序")
    private Integer examineSort;

    @ApiModelProperty("检验标准")
    @NotNull(name = "检验标准")
    private String examineStandard;

    @ApiModelProperty("项目类型")
    @NotNull(name = "项目类型")
    private String type;

    @ApiModelProperty("项目类型排序")
    @NotNull(name = "项目类型排序")
    private Integer typeSort;

    @ApiModelProperty("单位")
    private String unit;


}